package com.gotop.mapper.common.service;

import com.gotop.entity.log.LogApi;
import com.gotop.entity.log.LogError;
import com.gotop.entity.log.LogUsual;

/**
 * @program: cem
 * @description:
 * @author: superfish
 * @create: 2020-12-28 14:27
 **/
public interface LogService {

    /**
     * 保存通用日志
     *
     * @param log
     * @return
     */
    Boolean saveUsualLog(LogUsual log);

    /**
     * 保存操作日志
     *
     * @param log
     * @return
     */
    Boolean saveApiLog(LogApi log);

    /**
     * 保存错误日志
     *
     * @param log
     * @return
     */
    Boolean saveErrorLog(LogError log);

}